﻿#region Copyright ©2008-2011, Technische Universitaet Muenchen
// ====================================================================================================
//
// Last Changed by       $Author: kalus $
// Last Changed Date     $LastChangedDate: 2009-03-18 16:42:33 +0100 (Wed, 18 Mar 2009) $
// Last Changed Revision $Rev: 36 $
//
// ====================================================================================================
#endregion

namespace Tum.CollabXT.TFS
{
    internal interface IProcessor
    {
        /// <summary>
        /// Gets or sets the folder the task is located in.
        /// </summary>
        string TaskFileFolder
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the name of the task config file.
        /// </summary>
        string TaskFileName
        {
            get;
            set;
        }

        /// <summary>
        /// Processes the respective template part.
        /// </summary>
        /// <param name="processor">Template processor used.</param>
        /// <returns>True, if the processing succeeded. False, if not.</returns>
        bool Process(TemplateProcessor processor);
    }
}
